#!/bin/bash
#function: yum install mysql 5.5
#parmeter:
#author: yeslf
#version: 1.0
#Test: CentOS6


yum erase -y mysql-libs
mkdir /tmp
chmod 777 /tmp
yum install -y  initscripts  MySQL-client  MySQL-devel MySQL-server MySQL-shared 
yum clean all

rm -rf /var/lib/mysql/*
